@{
    var packageId=UrlData[0];
    var packageVersion = UrlData[1];
    if(!packageId.IsEmpty() && !packageVersion.IsEmpty())
    {
        <text>Installing the package</text>
       // try{
            App.WebPackageManager.InstallPackage(packageId, packageVersion);
      //  }catch(Exception ex){
       //     <text>ex</text>
       // }
    }else{
        <text>No Package specified</text>
    }
    var view = "~/Views/Admin/WebPackageManager/_ListPackageView.cshtml";
}
@RenderPage(view)